package joonany.basic.j03;

import java.util.Scanner;

public class J03_Expression22 {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int number;
		
		System.out.println("30 or 35를 입력하세요 : ");
		number = sc.nextInt();
		
		sc.close();
		
		System.out.println("입력받은값은" + number + "입니다.");
		
		
		if(number % 2 == 0){
			{System.out.println(number + " is even.");}
			{System.out.println(number + " is odd.");}
		
		if(number % 2 == 0){
			System.out.println(number + " is even.");}
			else {System.out.println(number + " is odd.");}
		}
		
	}

	
}		
		
		
//		if(num1 % 2 == 0){
//			System.out.println(num1 + " is even.");}
//			else {System.out.println(num1 + " is odd.");}
//		
//		if(num2 % 2 == 0){
//			System.out.println(num2 + " is even.");}
//			else {System.out.println(num2 + " is odd.");}
		
		
		
		


		
		
		
		



